﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DatePicker.ascx.cs" Inherits="WebControls_DatePicker" %>
<table cellpadding="0" cellspacing="0">
    <tr>
        <td><asp:TextBox runat="server"  Width="100" ID="txtDateTime"></asp:TextBox> <img  src="~/images/calendar.jpg" id="imgCalendar" runat="server" /> <asp:RequiredFieldValidator ID="rfvDateTime" ControlToValidate="txtDateTime" runat="server" Display="Dynamic"></asp:RequiredFieldValidator><asp:CustomValidator
                ID="cfvDateTime" ControlToValidate="txtDateTime" runat="server"  Display="Dynamic"
                onservervalidate="cfvDateTime_ServerValidate" ErrorMessage="Invalid date"></asp:CustomValidator>
        </td>
    </tr>
    <%--<col width="43" />
    <col width="43" />
    <col width="58" />
    <tr>
        <td style="padding:0px;">
            <asp:DropDownList ID="ddlDay" runat="server" Width="40">
            </asp:DropDownList>
        </td>
        <td style="padding:0px;">
            <asp:DropDownList ID="ddlMonth" runat="server" Width="40">
            </asp:DropDownList>
        </td>
        <td style="padding:0px;">
            <asp:DropDownList ID="ddlYear" runat="server" Width="55">
            </asp:DropDownList>
        </td>
    </tr>--%>
</table>
